Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow zero-sized files #63

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Allow zero-sized files #63

wants to merge 1 commit into from

Conversation

slifty
Copy link
Contributor

@slifty slifty commented Mar 30, 2023

This PR changes the validation to allow the creation of an S3 url for empty files.

I have not done investigation into the back end regarding where zero sized files might cause issues (e.g. in task runner, etc)

Resolves #62

We were rejecting files of size zero; this may have been due to a past
constraint within Permanent (and that constraint may still exist
somewhere in the backend), but we ultimately do want to let people
upload empty files since files of zero size can legitimately exist.

Issue #62 Support zero-sized files
@slifty slifty force-pushed the 62-support-zero-sized-files branch from 75d8277 to e3e2e4f Compare March 30, 2023 14:45
@slifty slifty requested a review from cecilia-donnelly March 30, 2023 14:47
@cecilia-donnelly cecilia-donnelly self-assigned this Apr 11, 2023
@cecilia-donnelly cecilia-donnelly marked this pull request as draft May 8, 2023 15:00
@cecilia-donnelly
Copy link
Member

Converted this to draft since we're not working on it at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support zero-sized files
2 participants